//
//  LeCubeRenderer.h
//  Leste
//
//  Created by 王乐 on 2022/1/26.
//

#ifndef LeCubeRenderer_hpp
#define LeCubeRenderer_hpp

#include "LeRenderer.h"

class LeCubeRenderer : public LeRenderer
{
public:
    LeCubeRenderer();
    virtual~LeCubeRenderer();
    
    //called before gameloop
    void preLoopRender() override; //get shader vao/vbo ready
    
    //called in gameloop
    void render() override;

    void renderSelection() override;

    //called after gameloop
    void postLoopRender() override;
    
private:
    unsigned int diffuseMap;
    unsigned int specularMap;
};

#endif /* LeCubeRenderer_hpp */
